Skip to content

Conversation

@wrisa
Copy link

@wrisa wrisa commented Jan 6, 2026

Fixes #

Changes

Workflow proposal https://github.com/open-telemetry/semantic-conventions/blob/b6bfc44631e28e87a0252011a8898e8098cb0ff9/docs/gen-ai/Session-and-Workflow-for-GenAI-Observability.md discussion led to suggestion of invoke workflow operation name in agent span.

Important

Pull requests acceptance are subject to the triage process as described in Issue and PR Triage Management.
PRs that do not follow the guidance above, may be automatically rejected and closed.

Merge requirement checklist

  • CONTRIBUTING.md guidelines followed.
  • Change log entry added, according to the guidelines in When to add a changelog entry.
    • If your PR does not need a change log, start the PR title with [chore]
  • Links to the prototypes or existing instrumentations (when adding or changing conventions)

@wrisa wrisa marked this pull request as ready for review January 12, 2026 20:45
@wrisa wrisa requested review from a team as code owners January 12, 2026 20:45
Copy link

@91pavan 91pavan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

Copy link

@zhirafovod zhirafovod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with some conditional notes left on the PR.

@singankit
Copy link
Contributor

@wrisa Is there any active discussions or doc about conditional nodes and how they can be represented, especially with gen ai workflows. For example conditional edges in langgraph.

@wrisa
Copy link
Author

wrisa commented Jan 21, 2026

Is there any active discussions or doc about conditional nodes and how they can be represented, especially with gen ai workflows

@singankit Not exactly, but we briefly presented step for intermediate steps like langchain's chains or CrewAi's tasks. According to SIG discussions, it seemed expensive as all the info could be captured on agent span as well and also it seemed more framework specific. If we can have more use cases like you suggested we can start the discussion maybe again.
P.S: We added assigned agents attribute in step for the chain invoking agent, crewAI's task executed by an agent and can be used for nodes in conditional edge. May be conditional edge can be a 'step' or an extension to it.

@github-actions github-actions bot added the enhancement New feature or request label Jan 21, 2026
This span SHOULD be reported by the instrumentations when they can
reliably determine that invocation is a workflow (i.e. groups several agent
invocations) and SHOULD NOT be reported by instrumentations that
can't distinguish it `invoke_workflow` from `invoke_agent`.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How would you recommend instrumenting ADK?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:gen-ai enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants